﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace VietPremier.Areas.AdminCP.Models
{
    public class AdminDestinationStyleModel
    {
        public int Id { get; set; }
        public string CountryName { get; set; }
        public string StyleName { get; set; }

        [Required(ErrorMessage = "Name can not be null")]
        [StringLength(100,ErrorMessage="Name can not over 100 characters")]
        public string Name { get; set; }

        [Required(ErrorMessage = "Description can not be null")]
        public string Description { get; set; }
        public int? Order { get; set; }
        [Required(ErrorMessage="Please Select Destination Country")]        
        public int? IdDestinationCountry { get; set; }
        public List<SelectListItem> listCountry { get; set; }
        [Required(ErrorMessage = "Please Select Style")]
        public int? IdStyle { get; set; }
        public List<SelectListItem> listStyle { get; set; }
        public string Meta_keyword { get; set; }

        [StringLength(200, ErrorMessage = "Meta Description can not over 200 characters")]
        public string Meta_description { get; set; }

        [StringLength(200, ErrorMessage = "Title Tag can not over 200 characters")]
        public string Titletag { get; set; }
    }
}